import Vue from 'vue'
import Router from 'vue-router'
/**
 * @description 详情
 */
import LongMirrorDetail from '@/page/longMirrorDetail'
/**
 * @description 分享
 */
import Share from '@/page/share'
/**
 * @description 邀请
 */
import Invitation from '@/page/invitation'
/**
 * @description 会员
 */
import Vipinfo from '@/page/vipinfo'
/**
 * @description 建设中
 */
import one from '@/page/1002'
import tow from '@/page/1003'
/**
 * @description 手机注册
 */
import Phone from '@/page/phone'
/**
 * @description 帮助中心
 */
import Help from '@/page/help'
/**
 * @description 商城
 */
import Mall from '@/page/mall'

Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/mall',
      name: 'mall',
      component: Mall
    },
    {
      path: '/longMirror/detail',
      name: 'longMirrorDetail',
      component: LongMirrorDetail
    },
    {
      path: '/share',
      name: 'share',
      component: Share
    },
    {
      path: '/help',
      name: 'help',
      component: Help
    },
    {
      path: '/invitation',
      name: 'invitation',
      component: Invitation
    },
    {
      path: '/vipinfo',
      name: 'vipinfo',
      component: Vipinfo
    },
    {
      path: '/phone',
      name: 'phone',
      component: Phone
    },
    {
      path: '/1002',
      name: 'one',
      component: one
    },
    {
      path: '/1003',
      name: 'tow',
      component: tow
    }
  ]
})
